package com.aistar.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProgramRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProgramRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andProgramRecordIdIsNull() {
            addCriterion("program_record_id is null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdIsNotNull() {
            addCriterion("program_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdEqualTo(Integer value) {
            addCriterion("program_record_id =", value, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdNotEqualTo(Integer value) {
            addCriterion("program_record_id <>", value, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdGreaterThan(Integer value) {
            addCriterion("program_record_id >", value, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("program_record_id >=", value, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdLessThan(Integer value) {
            addCriterion("program_record_id <", value, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdLessThanOrEqualTo(Integer value) {
            addCriterion("program_record_id <=", value, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdIn(List<Integer> values) {
            addCriterion("program_record_id in", values, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdNotIn(List<Integer> values) {
            addCriterion("program_record_id not in", values, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdBetween(Integer value1, Integer value2) {
            addCriterion("program_record_id between", value1, value2, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramRecordIdNotBetween(Integer value1, Integer value2) {
            addCriterion("program_record_id not between", value1, value2, "programRecordId");
            return (Criteria) this;
        }

        public Criteria andProgramIdIsNull() {
            addCriterion("program_id is null");
            return (Criteria) this;
        }

        public Criteria andProgramIdIsNotNull() {
            addCriterion("program_id is not null");
            return (Criteria) this;
        }

        public Criteria andProgramIdEqualTo(Integer value) {
            addCriterion("program_id =", value, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdNotEqualTo(Integer value) {
            addCriterion("program_id <>", value, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdGreaterThan(Integer value) {
            addCriterion("program_id >", value, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("program_id >=", value, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdLessThan(Integer value) {
            addCriterion("program_id <", value, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdLessThanOrEqualTo(Integer value) {
            addCriterion("program_id <=", value, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdIn(List<Integer> values) {
            addCriterion("program_id in", values, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdNotIn(List<Integer> values) {
            addCriterion("program_id not in", values, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdBetween(Integer value1, Integer value2) {
            addCriterion("program_id between", value1, value2, "programId");
            return (Criteria) this;
        }

        public Criteria andProgramIdNotBetween(Integer value1, Integer value2) {
            addCriterion("program_id not between", value1, value2, "programId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Integer value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeIsNull() {
            addCriterion("program_start_time is null");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeIsNotNull() {
            addCriterion("program_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeEqualTo(Date value) {
            addCriterion("program_start_time =", value, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeNotEqualTo(Date value) {
            addCriterion("program_start_time <>", value, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeGreaterThan(Date value) {
            addCriterion("program_start_time >", value, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("program_start_time >=", value, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeLessThan(Date value) {
            addCriterion("program_start_time <", value, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("program_start_time <=", value, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeIn(List<Date> values) {
            addCriterion("program_start_time in", values, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeNotIn(List<Date> values) {
            addCriterion("program_start_time not in", values, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeBetween(Date value1, Date value2) {
            addCriterion("program_start_time between", value1, value2, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("program_start_time not between", value1, value2, "programStartTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeIsNull() {
            addCriterion("program_record_time is null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeIsNotNull() {
            addCriterion("program_record_time is not null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeEqualTo(Date value) {
            addCriterion("program_record_time =", value, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeNotEqualTo(Date value) {
            addCriterion("program_record_time <>", value, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeGreaterThan(Date value) {
            addCriterion("program_record_time >", value, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("program_record_time >=", value, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeLessThan(Date value) {
            addCriterion("program_record_time <", value, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeLessThanOrEqualTo(Date value) {
            addCriterion("program_record_time <=", value, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeIn(List<Date> values) {
            addCriterion("program_record_time in", values, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeNotIn(List<Date> values) {
            addCriterion("program_record_time not in", values, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeBetween(Date value1, Date value2) {
            addCriterion("program_record_time between", value1, value2, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordTimeNotBetween(Date value1, Date value2) {
            addCriterion("program_record_time not between", value1, value2, "programRecordTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeIsNull() {
            addCriterion("program_record_pass_code is null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeIsNotNull() {
            addCriterion("program_record_pass_code is not null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeEqualTo(String value) {
            addCriterion("program_record_pass_code =", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeNotEqualTo(String value) {
            addCriterion("program_record_pass_code <>", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeGreaterThan(String value) {
            addCriterion("program_record_pass_code >", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeGreaterThanOrEqualTo(String value) {
            addCriterion("program_record_pass_code >=", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeLessThan(String value) {
            addCriterion("program_record_pass_code <", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeLessThanOrEqualTo(String value) {
            addCriterion("program_record_pass_code <=", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeLike(String value) {
            addCriterion("program_record_pass_code like", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeNotLike(String value) {
            addCriterion("program_record_pass_code not like", value, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeIn(List<String> values) {
            addCriterion("program_record_pass_code in", values, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeNotIn(List<String> values) {
            addCriterion("program_record_pass_code not in", values, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeBetween(String value1, String value2) {
            addCriterion("program_record_pass_code between", value1, value2, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordPassCodeNotBetween(String value1, String value2) {
            addCriterion("program_record_pass_code not between", value1, value2, "programRecordPassCode");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultIsNull() {
            addCriterion("program_record_result is null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultIsNotNull() {
            addCriterion("program_record_result is not null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultEqualTo(Integer value) {
            addCriterion("program_record_result =", value, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultNotEqualTo(Integer value) {
            addCriterion("program_record_result <>", value, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultGreaterThan(Integer value) {
            addCriterion("program_record_result >", value, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultGreaterThanOrEqualTo(Integer value) {
            addCriterion("program_record_result >=", value, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultLessThan(Integer value) {
            addCriterion("program_record_result <", value, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultLessThanOrEqualTo(Integer value) {
            addCriterion("program_record_result <=", value, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultIn(List<Integer> values) {
            addCriterion("program_record_result in", values, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultNotIn(List<Integer> values) {
            addCriterion("program_record_result not in", values, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultBetween(Integer value1, Integer value2) {
            addCriterion("program_record_result between", value1, value2, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordResultNotBetween(Integer value1, Integer value2) {
            addCriterion("program_record_result not between", value1, value2, "programRecordResult");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeIsNull() {
            addCriterion("program_record_execute_time is null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeIsNotNull() {
            addCriterion("program_record_execute_time is not null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeEqualTo(Integer value) {
            addCriterion("program_record_execute_time =", value, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeNotEqualTo(Integer value) {
            addCriterion("program_record_execute_time <>", value, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeGreaterThan(Integer value) {
            addCriterion("program_record_execute_time >", value, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("program_record_execute_time >=", value, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeLessThan(Integer value) {
            addCriterion("program_record_execute_time <", value, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeLessThanOrEqualTo(Integer value) {
            addCriterion("program_record_execute_time <=", value, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeIn(List<Integer> values) {
            addCriterion("program_record_execute_time in", values, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeNotIn(List<Integer> values) {
            addCriterion("program_record_execute_time not in", values, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeBetween(Integer value1, Integer value2) {
            addCriterion("program_record_execute_time between", value1, value2, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordExecuteTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("program_record_execute_time not between", value1, value2, "programRecordExecuteTime");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryIsNull() {
            addCriterion("program_record_memory is null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryIsNotNull() {
            addCriterion("program_record_memory is not null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryEqualTo(Integer value) {
            addCriterion("program_record_memory =", value, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryNotEqualTo(Integer value) {
            addCriterion("program_record_memory <>", value, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryGreaterThan(Integer value) {
            addCriterion("program_record_memory >", value, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryGreaterThanOrEqualTo(Integer value) {
            addCriterion("program_record_memory >=", value, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryLessThan(Integer value) {
            addCriterion("program_record_memory <", value, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryLessThanOrEqualTo(Integer value) {
            addCriterion("program_record_memory <=", value, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryIn(List<Integer> values) {
            addCriterion("program_record_memory in", values, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryNotIn(List<Integer> values) {
            addCriterion("program_record_memory not in", values, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryBetween(Integer value1, Integer value2) {
            addCriterion("program_record_memory between", value1, value2, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordMemoryNotBetween(Integer value1, Integer value2) {
            addCriterion("program_record_memory not between", value1, value2, "programRecordMemory");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageIsNull() {
            addCriterion("program_record_language is null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageIsNotNull() {
            addCriterion("program_record_language is not null");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageEqualTo(String value) {
            addCriterion("program_record_language =", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageNotEqualTo(String value) {
            addCriterion("program_record_language <>", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageGreaterThan(String value) {
            addCriterion("program_record_language >", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageGreaterThanOrEqualTo(String value) {
            addCriterion("program_record_language >=", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageLessThan(String value) {
            addCriterion("program_record_language <", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageLessThanOrEqualTo(String value) {
            addCriterion("program_record_language <=", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageLike(String value) {
            addCriterion("program_record_language like", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageNotLike(String value) {
            addCriterion("program_record_language not like", value, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageIn(List<String> values) {
            addCriterion("program_record_language in", values, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageNotIn(List<String> values) {
            addCriterion("program_record_language not in", values, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageBetween(String value1, String value2) {
            addCriterion("program_record_language between", value1, value2, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andProgramRecordLanguageNotBetween(String value1, String value2) {
            addCriterion("program_record_language not between", value1, value2, "programRecordLanguage");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOther1IsNull() {
            addCriterion("other1 is null");
            return (Criteria) this;
        }

        public Criteria andOther1IsNotNull() {
            addCriterion("other1 is not null");
            return (Criteria) this;
        }

        public Criteria andOther1EqualTo(String value) {
            addCriterion("other1 =", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotEqualTo(String value) {
            addCriterion("other1 <>", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThan(String value) {
            addCriterion("other1 >", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThanOrEqualTo(String value) {
            addCriterion("other1 >=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThan(String value) {
            addCriterion("other1 <", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThanOrEqualTo(String value) {
            addCriterion("other1 <=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Like(String value) {
            addCriterion("other1 like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotLike(String value) {
            addCriterion("other1 not like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1In(List<String> values) {
            addCriterion("other1 in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotIn(List<String> values) {
            addCriterion("other1 not in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Between(String value1, String value2) {
            addCriterion("other1 between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotBetween(String value1, String value2) {
            addCriterion("other1 not between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther2IsNull() {
            addCriterion("other2 is null");
            return (Criteria) this;
        }

        public Criteria andOther2IsNotNull() {
            addCriterion("other2 is not null");
            return (Criteria) this;
        }

        public Criteria andOther2EqualTo(String value) {
            addCriterion("other2 =", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotEqualTo(String value) {
            addCriterion("other2 <>", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThan(String value) {
            addCriterion("other2 >", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThanOrEqualTo(String value) {
            addCriterion("other2 >=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThan(String value) {
            addCriterion("other2 <", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThanOrEqualTo(String value) {
            addCriterion("other2 <=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Like(String value) {
            addCriterion("other2 like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotLike(String value) {
            addCriterion("other2 not like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2In(List<String> values) {
            addCriterion("other2 in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotIn(List<String> values) {
            addCriterion("other2 not in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Between(String value1, String value2) {
            addCriterion("other2 between", value1, value2, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotBetween(String value1, String value2) {
            addCriterion("other2 not between", value1, value2, "other2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}